<%--
  Created by IntelliJ IDEA.
  User: 10495
  Date: 2022/4/4
  Time: 18:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <link href="../bootstrap/bootstrap.css">
<%--    <link rel="stylesheet" href="/css/register.css" type="text/css">--%>
</head>
<body>
    <center>
        <form class="form-horizontal" method="post" action="/healmyself/user?method=register" enctype="multipart/form-data">
<%--            <h1>注册</h1>--%>
            <div class="form-group">
                <label for="inputName" class="col-sm-2 control-label">姓名</label>
                <div class="col-sm-10">
                    <input type="text" name="userName"
                           class="form-control" id="inputName" placeholder="Name">
                </div>
            </div>
            <div class="form-group">
                <label for="inputAccount" class="col-sm-2 control-label">用户名</label>
                <div class="col-sm-10">
                    <input type="text" name="account"
                           class="form-control" id="inputAccount" placeholder="Account">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword" class="col-sm-2 control-label">用户密码</label>
                <div class="col-sm-10">
                    <input type="password" name="password"
                           class="form-control" id="inputPassword" placeholder="Password">
                </div>
            </div>

            <div class="radio">
                <label>
                    <input type="radio" name="gender" id="optionsRadios1" value="0">
                    女
                </label>
            </div>
            <div class="radio">
                <label>
                    <input type="radio" name="gender" id="optionsRadios2" value="1">
                    男
                </label>
            </div>
            <div class="form-group">
                <label for="age" class="col-sm-2 control-label">年龄</label>
                <div class="col-sm-10">
                    <input type="number" name="age"
                           class="form-control" id="age" placeholder="age">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="inputIntro">心情</label>
                <div class="controls">
                    <textarea class="form-control" rows="3" id="inputIntro" name="intro"></textarea>
                </div>
            </div>

<%--            <div class="intro">--%>
<%--                <p>个性签名:</p>--%>
<%--                <textarea class="form-control" rows="3" id="intro" name="intro"></textarea>--%>
<%--            </div>--%>
<%--            <p style="text-align: center;">--%>
<%--                <input type="submit" class="button" onclick='window.open("login.jsp")' value="提交">--%>
<%--            </p>--%>
            <button type="submit" class="btn btn-default">提交</button>
        </form>
    </center>
</body>
</html>
